package com.wanmait.happyheating.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
* Created by Mybatis Generator 2021/05/10
*/
@Data
@TableName(value = "heating_number")
public class HeatingNumber implements Serializable {
     @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 供暖号码绑定的地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 户主名
     */
    @TableField(value = "household_name")
    private String householdName;

    /**
     * 户主身份证
     */
    @TableField(value = "household_idcard")
    private String householdIdcard;

    /**
     * 添加时间
     */
    @TableField(value = "input_time")
    private Timestamp inputTime;

    /**
     * 实际供暖号码
     */
    @TableField(value = "`number`")
    private String number;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Timestamp updateTime;
    @TableLogic
    @TableField(value = "enable")
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public static final String COL_ADDRESS = "address";

    public static final String COL_HOUSEHOLD_NAME = "household_name";

    public static final String COL_HOUSEHOLD_IDCARD = "household_idcard";

    public static final String COL_INPUT_TIME = "input_time";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_NUMBER = "number";

    public static final String COL_ENABLE = "enable";
}